package com.erp.products.productlist.mapper;

import com.erp.products.productlist.domain.ErpProducts;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductListMapper {

    List<ErpProducts> list(ErpProducts erpProducts);

    public ErpProducts selectErpProductsById(Long productId);

    int deleteErpProductsById(Long productId);

    int updateErpProducts(ErpProducts erpProducts);


    void insertBatch(List<ErpProducts> cachedDataList);
}
